<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div class="header">
    <div class="box clearfix">
        <div class="logoBox left"><a href="index.html"><img src="${ctx}/resource/img/index/logo.png" width="255px" height="82px" alt="" /></a></div>
        <div class="nav right">
            <ul class="mainNav clearfix">
                <li><a href="${ctx}/index/index">首&nbsp;页</a><span></span></li>
                <li><a href="${ctx}/index/abouts">德燊介绍<span></span></a></li>
                <li><a href="${ctx}/index/business">业务信息<span></span></a></li>
                <!-- <li><a href="${ctx}/index/typical">历史产品<br /><span>HISTORICAL<br/>PROD</span></a></li> -->
                <li><a href="${ctx}/index/info">公告信息<span></span></a></li>
                <li class="last"><a href="${ctx}/index/recruit">加入我们<span></span></a></li>
                <%--<li class="last"><a href="${ctx}/index/contact">联系我们<br /><span>CONTACT</span></a></li>--%>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript">
	$(function(){
		var requestUrl = String(window.location);
		var hrefUrl;
		$(".mainNav li a").each(function(){
			hrefUrl = $($(this))[0].href;
	    	if(hrefUrl == requestUrl)
	        	$(this).addClass('active');  
		}); 
	});
</script>
